package com.qianya.model.pojo.login.qo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.qianya.model.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 * 部门
 * </p>
 *
 * @author lhl
 * @since 2020-07-02
 */
@Data
@ApiModel(value="LoginDeptFindQO传入对象", description="部门")
public class LoginDeptFindQO extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "部门名称")
    @Length(max = 8,message = "部门名称不能超过8个字符")
    private String deptName;

    @ApiModelProperty(value = "部门状态",notes = "0禁用，1启用，空则查所有")
    private Integer deptStatus;

}
